<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/3/25 0025
  Time: 下午 2:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>判断登陆界面</title>
</head>
<body>
<%
    String name = request.getParameter("name").trim();
    String password = request.getParameter("password").trim();
    if(name.equals("name")&& password.equals("pwd")){%>
        <jsp:forward page="success.jsp"/>
    <%}else {%>
        <jsp:forward page="error.jsp"/>
    <%}%>
%>

</body>
</html>
